/*
*所有关于Equipmentledger类的业务代码接口应在此处编写
*/
using System.Linq.Expressions;
using VOL.Core.BaseProvider;
using VOL.Core.Utilities;
using VOL.Domain.Dto;
using VOL.Entity.DomainModels;
namespace VOL.Domain.IServices
{
    public partial interface IEquipmentledgerService
    {
        /// <summary>
        /// 获取设备台账列表
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<PageGridData<Equipmentledger>> GetEquipmentLedgerPage(GetEquipmentledgerDto dto);
        /// <summary>
        /// 修改设备台账信息
        /// </summary>
        /// <param name="entity">设备台账实体</param>
        /// <returns>操作结果</returns>
        Task<WebResponseContent> UpdateEquipmentLedger(Equipmentledger entity);
        /// <summary>
        /// 删除设备台账信息
        /// </summary>
        /// <param name="id">设备台账ID</param>
        /// <returns>操作结果</returns>
        Task<WebResponseContent> DeleteEquipmentLedger(int id);
        /// <summary>
        /// 添加设备台账信息
        /// </summary>
        /// <param name="entity">设备台账实体</param>
        /// <returns>操作结果</returns>
        Task<WebResponseContent> AddEquipmentLedger(Equipmentledger entity);
    }
 }
